package com.niiwoo.civet.trade.dto.request;

import com.niiwoo.civet.trade.enums.ProjectTypeEnum;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * Created by zhangwanli on 2018/1/5.
 */
@Setter
@Getter
public class InvestPriorityChangeRequest implements Serializable {
    private static final long serialVersionUID = -3697590365442229691L;

    @NotNull
    private String userId;
    /**
     * 有限投资的标的类型，null或empty则为全部标的类型
     */
    @NotNull
    private List<ProjectTypeEnum> projectTypes;
    @NotNull
    private Byte weight;
}
